package com.meilai.project.entity.personnel.onTurn;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.meilai.project.dto.workflow.FlowBusinessDataSuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;


@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("entry_apply")
@ApiModel(value= "考察登记表")
public class EntryApply extends FlowBusinessDataSuperEntity {
    @ApiModelProperty(value = "部门id", example = "1")
    private Long entry_dep_id;
    @ApiModelProperty("部门名称")
    private String entry_dep;
    @ApiModelProperty("岗位")
    private String entry_job;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("照片")
    private String avatar;
    @ApiModelProperty("生日")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate birth;
    @ApiModelProperty("政治面貌")
    private String political_landspace;
    @ApiModelProperty("籍贯")
    private String native_place;
    @ApiModelProperty("民族")
    private String national;
    @ApiModelProperty("婚姻状况")
    private String marriage;
    @ApiModelProperty("文化程度")
    private String degree;
    @ApiModelProperty("身份证号码")
    private String id_no;
    @ApiModelProperty("联系电话")
    private String mobile;
    @ApiModelProperty("户籍所在地")
    private String household_registration;
    @ApiModelProperty("紧急联系人/电话")
    private String urgent_phone;
    @ApiModelProperty("现居住地址")
    private String home_address;
    @ApiModelProperty("QQ号码")
    private String qq;
    @ApiModelProperty(value = "能否接受工作调度 0：否  1：是", example = "1")
    private Integer dispatch;
    @ApiModelProperty(value = "能否接受加班 0：否  1：是", example = "1")
    private Integer work_overtime;
    @ApiModelProperty(value = "能否接受出差 0：否  1：是", example = "1")
    private Integer business_trip;
    @ApiModelProperty(value = "是否曾经被应聘 0：否  1：是", example = "1")
    private Integer employed;
    @ApiModelProperty(value = "是否有亲属或朋友在我司工作 0：否  1：是", example = "1")
    private Integer employed_friends;
    @ApiModelProperty("应聘的亲属朋友的名字")
    private String employed_relatives_friends_name;
    @ApiModelProperty("公司填写项-入编时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate comp_fill_entry_date;
    @ApiModelProperty("公司填写项-所属部门id")
    private Long comp_fill_belong_dep_id;
    @ApiModelProperty("公司填写项-所属部门")
    private String comp_fill_belong_dep;
    @ApiModelProperty("公司填写项-职务")
    private String comp_fill_job;
    @ApiModelProperty("公司填写项-考察期开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate comp_fill_probation_start;
    @ApiModelProperty("公司填写项-考察期结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate comp_fill_probation_end;
    @ApiModelProperty("公司填写项-考察期工资")
    private BigDecimal comp_fill_probation_salary;
    @ApiModelProperty("公司填写项-入编后工资")
    private BigDecimal comp_fill_salary;
    @ApiModelProperty("公司填写项-人资部意见")
    private String comp_fill_person_dep_opinion;
    @ApiModelProperty("公司填写项-用人部门意见")
    private String comp_fill_use_dep_opinion;
    @ApiModelProperty("公司填写项-总经理意见")
    private String comp_fill_manager_opinion;
}


